package com.hdl.school.utils;

import com.hdl.school.bean.PlanTaskSource;

import java.util.Comparator;

public class PlanSourceComparator  implements Comparator<PlanTaskSource> {
    @Override
    public int compare(PlanTaskSource planTaskSource, PlanTaskSource t1) {
        return TimeUtil.timeInToday(planTaskSource.getPlayStartTime())<TimeUtil.timeInToday(t1.getPlayStartTime())?-1:1;
    }
}
